$strValue = Fs.GetEnv (
"<envVar>"
)
Retrieves the value of the given environment variable.
Parameters
<envVar>
The system environment variable.
Return Value
Returns a string.
Example
$ret = fs.GetEnv ("windir")
$ret
contains
C:\Windows
.